<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/test_upload" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    <p><input type="text" name="title"></p>
    <p><input type="file" name="myfile"></p>
    <p><input type="submit" value="上传"></p>


</form>
</body>
</html>